package ecitys.commons

class PessoaJuridica extends Pessoa {
	String cnpj
	String nomeFantasia
	String inscricaoEstadual
	String inscricaoMunicipal

    static constraints = {
		cnpj(maxSize:14, nullable:false, blank:false)
		nomeFantasia(maxSize:40, nullable:true, blank:false)
		inscricaoEstadual(maxSize:25, nullable:true, blank:false)
		inscricaoMunicipal(maxSize:25, nullablee:true, blank:false)
    }
}
